package com.cyg.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cyg.system.model.User;
import com.cyg.system.persistence.mapper.UserMapper;
import com.cyg.system.service.IUserService;

@Service
public class UserService implements IUserService{
	
	@Autowired
	private UserMapper userMapper;

	@Override
	public int saveUser(User user) {
		return userMapper.insert(user);
	}

}
